home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000231_andreas@mpa-garching.mpg.de_Thu Feb 3 12:47:37 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  3KB

  1. Received: from ibm-1.mpa-garching.mpg.de by cs.umb.edu with SMTP id AA20317
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Fri, 4 Feb 1994 04:11:59 -0500
  3. Received: from localhost (andreas@localhost) by ibm-1.MPA-Garching.MPG.DE (8.6.4/8.6) id LAA17799; Thu, 3 Feb 1994 11:47:37 +0100
  4. Date: Thu, 3 Feb 1994 11:47:37 +0100
  5. From: Andreas Schott <andreas@mpa-garching.mpg.de>
  6. Message-Id: <199402031047.LAA17799@ibm-1.MPA-Garching.MPG.DE>
  7. To: rokicki@cs.standford.edu (Tomas Rokicki)
  8. Cc: tex-k@cs.umb.edu
  9. Subject: epsf.tex/sty
  10. Reply-To: andreas@mpa-garching.mpg.de (Andreas Schott)
  11.  
  12. The EPS-standard defines, that the BoundingBox may be
  13. defined at the end of the file. In this case, the
  14. %%BoundingBox-line at the top of the file contains an
  15. '(atend)' instead of the values.
  16.  
  17. The following patch has to be applied to epsf.tex and
  18. epsf.sty. 
  19.  
  20. ----------------------------------------------------------------
  21. *** epsf.tex.old        Wed Nov 24 09:52:40 1993
  22. --- epsf.tex    Wed Feb  3 11:39:27 1994
  23. ***************
  24. *** 3,8 ****
  25. --- 3,10 ----
  26.   %   Revised by Don Knuth, 3 Jan 1990.
  27.   %   Revised by Tomas Rokicki to accept bounding boxes with no
  28.   %      space after the colon, 18 Jul 1990.
  29. + %   Revised by Andreas Schott to accept bounding box definitions
  30. + %      at the end of the file, 3 Feb 1994.
  31.   %
  32.   %   TeX macros to include an Encapsulated PostScript graphic.
  33.   %   Works by finding the bounding box comment,
  34. ***************
  35. *** 58,63 ****
  36. --- 58,64 ----
  37.   \newread\epsffilein    % file to \read
  38.   \newif\ifepsffileok    % continue looking for the bounding box?
  39.   \newif\ifepsfbbfound   % success?
  40. + \newif\ifepsfbbatend   % bounding box defined at end of file
  41.   \newif\ifepsfverbose   % report what you're making?
  42.   \newif\ifepsfdraft     % use draft mode?
  43.   \newdimen\epsfxsize    % horizontal size after scaling
  44. ***************
  45. *** 186,191 ****
  46. --- 187,193 ----
  47.   %   a couple of magic constants for comparison purposes.
  48.   %
  49.   {\catcode`\%=12 \global\let\epsfpercent=%\global\def\epsfbblit{%BoundingBox}}%
  50. + \def\epsfbbatend{(atend)}%
  51.   %
  52.   %   So we're ready to check for `%BoundingBox:' and to grab the
  53.   %   values if they are found.
  54. ***************
  55. *** 193,201 ****
  56.   \long\def\epsfaux#1#2:#3\\{\ifx#1\epsfpercent
  57.      \def\testit{#2}\ifx\testit\epsfbblit
  58.         \epsfgrab #3 . . . \\%
  59.         \epsffileokfalse
  60.         \global\epsfbbfoundtrue
  61. !    \fi\else\ifx#1\par\else\epsffileokfalse\fi\fi}%
  62.   %
  63.   %   Here we grab the values and stuff them in the appropriate definitions.
  64.   %
  65. --- 195,204 ----
  66.   \long\def\epsfaux#1#2:#3\\{\ifx#1\epsfpercent
  67.      \def\testit{#2}\ifx\testit\epsfbblit
  68.         \epsfgrab #3 . . . \\%
  69. +       \ifx\epsfllx\epsfbbatend\epsfbbatendtrue\else
  70.         \epsffileokfalse
  71.         \global\epsfbbfoundtrue
  72. !    \fi\fi\else\ifx#1\par\else\ifepsfbbatend\else\epsffileokfalse\fi\fi\fi}%
  73.   %
  74.   %   Here we grab the values and stuff them in the appropriate definitions.
  75.   %
  76. ----------------------------------------------------------------
  77.  
  78. Watchout for a linebreak, which may be introduced by the mailer
  79. in the line beginning with `  {\catcode'. This line ends with
  80. `%BoundingBox}}%'.
  81.  
  82. Andreas.